package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.AccountCityMapper;
import com.hcb.micro.dto.AccountCity;
import com.hcb.micro.service.IAccountCityService;

@Service("AccountCityService")
public class AccountCityServiceImpl implements IAccountCityService {

	@Autowired
	AccountCityMapper accountCityMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return accountCityMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(AccountCity record) {
		return accountCityMapper.insert(record);
	}

	@Override
	public int insertSelective(AccountCity record) {
		return accountCityMapper.insertSelective(record);
	}

	@Override
	public AccountCity selectByPrimaryKey(Integer id) {
		return accountCityMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(AccountCity record) {
		return accountCityMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(AccountCity record) {
		return accountCityMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<AccountCity> selectByPara(Map<String, Object> para) {
		return accountCityMapper.selectByPara(para);
	}

}
